package com.rc.saas.tenant.model.battery;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BatteryOrderSimpleNotifyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BatteryOrderSimpleNotifyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBatteryOrderIdIsNull() {
            addCriterion("battery_order_id is null");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdIsNotNull() {
            addCriterion("battery_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdEqualTo(Long value) {
            addCriterion("battery_order_id =", value, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdNotEqualTo(Long value) {
            addCriterion("battery_order_id <>", value, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdGreaterThan(Long value) {
            addCriterion("battery_order_id >", value, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("battery_order_id >=", value, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdLessThan(Long value) {
            addCriterion("battery_order_id <", value, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("battery_order_id <=", value, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdIn(List<Long> values) {
            addCriterion("battery_order_id in", values, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdNotIn(List<Long> values) {
            addCriterion("battery_order_id not in", values, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdBetween(Long value1, Long value2) {
            addCriterion("battery_order_id between", value1, value2, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andBatteryOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("battery_order_id not between", value1, value2, "batteryOrderId");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(String value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(String value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(String value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(String value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(String value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLike(String value) {
            addCriterion("order_num like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotLike(String value) {
            addCriterion("order_num not like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<String> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<String> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(String value1, String value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(String value1, String value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNull() {
            addCriterion("out_order_num is null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNotNull() {
            addCriterion("out_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumEqualTo(String value) {
            addCriterion("out_order_num =", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotEqualTo(String value) {
            addCriterion("out_order_num <>", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThan(String value) {
            addCriterion("out_order_num >", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("out_order_num >=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThan(String value) {
            addCriterion("out_order_num <", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThanOrEqualTo(String value) {
            addCriterion("out_order_num <=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLike(String value) {
            addCriterion("out_order_num like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotLike(String value) {
            addCriterion("out_order_num not like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIn(List<String> values) {
            addCriterion("out_order_num in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotIn(List<String> values) {
            addCriterion("out_order_num not in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumBetween(String value1, String value2) {
            addCriterion("out_order_num between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotBetween(String value1, String value2) {
            addCriterion("out_order_num not between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andGunNoIsNull() {
            addCriterion("gun_no is null");
            return (Criteria) this;
        }

        public Criteria andGunNoIsNotNull() {
            addCriterion("gun_no is not null");
            return (Criteria) this;
        }

        public Criteria andGunNoEqualTo(String value) {
            addCriterion("gun_no =", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoNotEqualTo(String value) {
            addCriterion("gun_no <>", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoGreaterThan(String value) {
            addCriterion("gun_no >", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoGreaterThanOrEqualTo(String value) {
            addCriterion("gun_no >=", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoLessThan(String value) {
            addCriterion("gun_no <", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoLessThanOrEqualTo(String value) {
            addCriterion("gun_no <=", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoLike(String value) {
            addCriterion("gun_no like", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoNotLike(String value) {
            addCriterion("gun_no not like", value, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoIn(List<String> values) {
            addCriterion("gun_no in", values, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoNotIn(List<String> values) {
            addCriterion("gun_no not in", values, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoBetween(String value1, String value2) {
            addCriterion("gun_no between", value1, value2, "gunNo");
            return (Criteria) this;
        }

        public Criteria andGunNoNotBetween(String value1, String value2) {
            addCriterion("gun_no not between", value1, value2, "gunNo");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnIsNull() {
            addCriterion("check_board_sn is null");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnIsNotNull() {
            addCriterion("check_board_sn is not null");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnEqualTo(String value) {
            addCriterion("check_board_sn =", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnNotEqualTo(String value) {
            addCriterion("check_board_sn <>", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnGreaterThan(String value) {
            addCriterion("check_board_sn >", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnGreaterThanOrEqualTo(String value) {
            addCriterion("check_board_sn >=", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnLessThan(String value) {
            addCriterion("check_board_sn <", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnLessThanOrEqualTo(String value) {
            addCriterion("check_board_sn <=", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnLike(String value) {
            addCriterion("check_board_sn like", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnNotLike(String value) {
            addCriterion("check_board_sn not like", value, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnIn(List<String> values) {
            addCriterion("check_board_sn in", values, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnNotIn(List<String> values) {
            addCriterion("check_board_sn not in", values, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnBetween(String value1, String value2) {
            addCriterion("check_board_sn between", value1, value2, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andCheckBoardSnNotBetween(String value1, String value2) {
            addCriterion("check_board_sn not between", value1, value2, "checkBoardSn");
            return (Criteria) this;
        }

        public Criteria andSimpleReportIsNull() {
            addCriterion("simple_report is null");
            return (Criteria) this;
        }

        public Criteria andSimpleReportIsNotNull() {
            addCriterion("simple_report is not null");
            return (Criteria) this;
        }

        public Criteria andSimpleReportEqualTo(String value) {
            addCriterion("simple_report =", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportNotEqualTo(String value) {
            addCriterion("simple_report <>", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportGreaterThan(String value) {
            addCriterion("simple_report >", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportGreaterThanOrEqualTo(String value) {
            addCriterion("simple_report >=", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportLessThan(String value) {
            addCriterion("simple_report <", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportLessThanOrEqualTo(String value) {
            addCriterion("simple_report <=", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportLike(String value) {
            addCriterion("simple_report like", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportNotLike(String value) {
            addCriterion("simple_report not like", value, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportIn(List<String> values) {
            addCriterion("simple_report in", values, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportNotIn(List<String> values) {
            addCriterion("simple_report not in", values, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportBetween(String value1, String value2) {
            addCriterion("simple_report between", value1, value2, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportNotBetween(String value1, String value2) {
            addCriterion("simple_report not between", value1, value2, "simpleReport");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeIsNull() {
            addCriterion("simple_report_time is null");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeIsNotNull() {
            addCriterion("simple_report_time is not null");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeEqualTo(Date value) {
            addCriterion("simple_report_time =", value, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeNotEqualTo(Date value) {
            addCriterion("simple_report_time <>", value, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeGreaterThan(Date value) {
            addCriterion("simple_report_time >", value, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("simple_report_time >=", value, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeLessThan(Date value) {
            addCriterion("simple_report_time <", value, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeLessThanOrEqualTo(Date value) {
            addCriterion("simple_report_time <=", value, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeIn(List<Date> values) {
            addCriterion("simple_report_time in", values, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeNotIn(List<Date> values) {
            addCriterion("simple_report_time not in", values, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeBetween(Date value1, Date value2) {
            addCriterion("simple_report_time between", value1, value2, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andSimpleReportTimeNotBetween(Date value1, Date value2) {
            addCriterion("simple_report_time not between", value1, value2, "simpleReportTime");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceIsNull() {
            addCriterion("function_performance is null");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceIsNotNull() {
            addCriterion("function_performance is not null");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceEqualTo(BigDecimal value) {
            addCriterion("function_performance =", value, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceNotEqualTo(BigDecimal value) {
            addCriterion("function_performance <>", value, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceGreaterThan(BigDecimal value) {
            addCriterion("function_performance >", value, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("function_performance >=", value, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceLessThan(BigDecimal value) {
            addCriterion("function_performance <", value, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("function_performance <=", value, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceIn(List<BigDecimal> values) {
            addCriterion("function_performance in", values, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceNotIn(List<BigDecimal> values) {
            addCriterion("function_performance not in", values, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("function_performance between", value1, value2, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andFunctionPerformanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("function_performance not between", value1, value2, "functionPerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceIsNull() {
            addCriterion("safe_performance is null");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceIsNotNull() {
            addCriterion("safe_performance is not null");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceEqualTo(BigDecimal value) {
            addCriterion("safe_performance =", value, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceNotEqualTo(BigDecimal value) {
            addCriterion("safe_performance <>", value, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceGreaterThan(BigDecimal value) {
            addCriterion("safe_performance >", value, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("safe_performance >=", value, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceLessThan(BigDecimal value) {
            addCriterion("safe_performance <", value, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("safe_performance <=", value, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceIn(List<BigDecimal> values) {
            addCriterion("safe_performance in", values, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceNotIn(List<BigDecimal> values) {
            addCriterion("safe_performance not in", values, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("safe_performance between", value1, value2, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andSafePerformanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("safe_performance not between", value1, value2, "safePerformance");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionIsNull() {
            addCriterion("damage_detection is null");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionIsNotNull() {
            addCriterion("damage_detection is not null");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionEqualTo(BigDecimal value) {
            addCriterion("damage_detection =", value, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionNotEqualTo(BigDecimal value) {
            addCriterion("damage_detection <>", value, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionGreaterThan(BigDecimal value) {
            addCriterion("damage_detection >", value, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("damage_detection >=", value, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionLessThan(BigDecimal value) {
            addCriterion("damage_detection <", value, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionLessThanOrEqualTo(BigDecimal value) {
            addCriterion("damage_detection <=", value, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionIn(List<BigDecimal> values) {
            addCriterion("damage_detection in", values, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionNotIn(List<BigDecimal> values) {
            addCriterion("damage_detection not in", values, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("damage_detection between", value1, value2, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andDamageDetectionNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("damage_detection not between", value1, value2, "damageDetection");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceIsNull() {
            addCriterion("overall_performance is null");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceIsNotNull() {
            addCriterion("overall_performance is not null");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceEqualTo(BigDecimal value) {
            addCriterion("overall_performance =", value, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceNotEqualTo(BigDecimal value) {
            addCriterion("overall_performance <>", value, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceGreaterThan(BigDecimal value) {
            addCriterion("overall_performance >", value, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("overall_performance >=", value, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceLessThan(BigDecimal value) {
            addCriterion("overall_performance <", value, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("overall_performance <=", value, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceIn(List<BigDecimal> values) {
            addCriterion("overall_performance in", values, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceNotIn(List<BigDecimal> values) {
            addCriterion("overall_performance not in", values, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overall_performance between", value1, value2, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andOverallPerformanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overall_performance not between", value1, value2, "overallPerformance");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesIsNull() {
            addCriterion("detected_times is null");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesIsNotNull() {
            addCriterion("detected_times is not null");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesEqualTo(Integer value) {
            addCriterion("detected_times =", value, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesNotEqualTo(Integer value) {
            addCriterion("detected_times <>", value, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesGreaterThan(Integer value) {
            addCriterion("detected_times >", value, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("detected_times >=", value, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesLessThan(Integer value) {
            addCriterion("detected_times <", value, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesLessThanOrEqualTo(Integer value) {
            addCriterion("detected_times <=", value, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesIn(List<Integer> values) {
            addCriterion("detected_times in", values, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesNotIn(List<Integer> values) {
            addCriterion("detected_times not in", values, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesBetween(Integer value1, Integer value2) {
            addCriterion("detected_times between", value1, value2, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andDetectedTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("detected_times not between", value1, value2, "detectedTimes");
            return (Criteria) this;
        }

        public Criteria andSohIsNull() {
            addCriterion("soh is null");
            return (Criteria) this;
        }

        public Criteria andSohIsNotNull() {
            addCriterion("soh is not null");
            return (Criteria) this;
        }

        public Criteria andSohEqualTo(BigDecimal value) {
            addCriterion("soh =", value, "soh");
            return (Criteria) this;
        }

        public Criteria andSohNotEqualTo(BigDecimal value) {
            addCriterion("soh <>", value, "soh");
            return (Criteria) this;
        }

        public Criteria andSohGreaterThan(BigDecimal value) {
            addCriterion("soh >", value, "soh");
            return (Criteria) this;
        }

        public Criteria andSohGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("soh >=", value, "soh");
            return (Criteria) this;
        }

        public Criteria andSohLessThan(BigDecimal value) {
            addCriterion("soh <", value, "soh");
            return (Criteria) this;
        }

        public Criteria andSohLessThanOrEqualTo(BigDecimal value) {
            addCriterion("soh <=", value, "soh");
            return (Criteria) this;
        }

        public Criteria andSohIn(List<BigDecimal> values) {
            addCriterion("soh in", values, "soh");
            return (Criteria) this;
        }

        public Criteria andSohNotIn(List<BigDecimal> values) {
            addCriterion("soh not in", values, "soh");
            return (Criteria) this;
        }

        public Criteria andSohBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("soh between", value1, value2, "soh");
            return (Criteria) this;
        }

        public Criteria andSohNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("soh not between", value1, value2, "soh");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNull() {
            addCriterion("report_time is null");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNotNull() {
            addCriterion("report_time is not null");
            return (Criteria) this;
        }

        public Criteria andReportTimeEqualTo(Date value) {
            addCriterion("report_time =", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotEqualTo(Date value) {
            addCriterion("report_time <>", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThan(Date value) {
            addCriterion("report_time >", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("report_time >=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThan(Date value) {
            addCriterion("report_time <", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThanOrEqualTo(Date value) {
            addCriterion("report_time <=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeIn(List<Date> values) {
            addCriterion("report_time in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotIn(List<Date> values) {
            addCriterion("report_time not in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeBetween(Date value1, Date value2) {
            addCriterion("report_time between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotBetween(Date value1, Date value2) {
            addCriterion("report_time not between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNull() {
            addCriterion("car_num is null");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNotNull() {
            addCriterion("car_num is not null");
            return (Criteria) this;
        }

        public Criteria andCarNumEqualTo(String value) {
            addCriterion("car_num =", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotEqualTo(String value) {
            addCriterion("car_num <>", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThan(String value) {
            addCriterion("car_num >", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThanOrEqualTo(String value) {
            addCriterion("car_num >=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThan(String value) {
            addCriterion("car_num <", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThanOrEqualTo(String value) {
            addCriterion("car_num <=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLike(String value) {
            addCriterion("car_num like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotLike(String value) {
            addCriterion("car_num not like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumIn(List<String> values) {
            addCriterion("car_num in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotIn(List<String> values) {
            addCriterion("car_num not in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumBetween(String value1, String value2) {
            addCriterion("car_num between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotBetween(String value1, String value2) {
            addCriterion("car_num not between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarVinIsNull() {
            addCriterion("car_vin is null");
            return (Criteria) this;
        }

        public Criteria andCarVinIsNotNull() {
            addCriterion("car_vin is not null");
            return (Criteria) this;
        }

        public Criteria andCarVinEqualTo(String value) {
            addCriterion("car_vin =", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotEqualTo(String value) {
            addCriterion("car_vin <>", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinGreaterThan(String value) {
            addCriterion("car_vin >", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinGreaterThanOrEqualTo(String value) {
            addCriterion("car_vin >=", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLessThan(String value) {
            addCriterion("car_vin <", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLessThanOrEqualTo(String value) {
            addCriterion("car_vin <=", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLike(String value) {
            addCriterion("car_vin like", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotLike(String value) {
            addCriterion("car_vin not like", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinIn(List<String> values) {
            addCriterion("car_vin in", values, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotIn(List<String> values) {
            addCriterion("car_vin not in", values, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinBetween(String value1, String value2) {
            addCriterion("car_vin between", value1, value2, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotBetween(String value1, String value2) {
            addCriterion("car_vin not between", value1, value2, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNull() {
            addCriterion("car_type is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNotNull() {
            addCriterion("car_type is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeEqualTo(String value) {
            addCriterion("car_type =", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotEqualTo(String value) {
            addCriterion("car_type <>", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThan(String value) {
            addCriterion("car_type >", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("car_type >=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThan(String value) {
            addCriterion("car_type <", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThanOrEqualTo(String value) {
            addCriterion("car_type <=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLike(String value) {
            addCriterion("car_type like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotLike(String value) {
            addCriterion("car_type not like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeIn(List<String> values) {
            addCriterion("car_type in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotIn(List<String> values) {
            addCriterion("car_type not in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeBetween(String value1, String value2) {
            addCriterion("car_type between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotBetween(String value1, String value2) {
            addCriterion("car_type not between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andIsErrorIsNull() {
            addCriterion("is_error is null");
            return (Criteria) this;
        }

        public Criteria andIsErrorIsNotNull() {
            addCriterion("is_error is not null");
            return (Criteria) this;
        }

        public Criteria andIsErrorEqualTo(Integer value) {
            addCriterion("is_error =", value, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorNotEqualTo(Integer value) {
            addCriterion("is_error <>", value, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorGreaterThan(Integer value) {
            addCriterion("is_error >", value, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_error >=", value, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorLessThan(Integer value) {
            addCriterion("is_error <", value, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorLessThanOrEqualTo(Integer value) {
            addCriterion("is_error <=", value, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorIn(List<Integer> values) {
            addCriterion("is_error in", values, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorNotIn(List<Integer> values) {
            addCriterion("is_error not in", values, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorBetween(Integer value1, Integer value2) {
            addCriterion("is_error between", value1, value2, "isError");
            return (Criteria) this;
        }

        public Criteria andIsErrorNotBetween(Integer value1, Integer value2) {
            addCriterion("is_error not between", value1, value2, "isError");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}